import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 导入全局样式
import '@/styles/index.scss'
// 导入vant组件库
import vant from 'vant'
// 导入vant组件库的移动端事件适配
import '@vant/touch-emulator'
// 导入vant样式文件
import 'vant/lib/index.css'
// 导入 vant 组件库的移动端事件适配
import '@vant/touch-emulator'
// 导入SdyHeader组件
import SdyHeader from '@/views/SdyHeader/index.vue'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(vant)
app.component('SdyHeader',SdyHeader)
app.mount('#app')
